package tenumn.energytech.registrys;

import net.minecraft.core.Registry;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Item;
import net.minecraftforge.common.Tags;
import tenumn.energytech.EnergyTech;

public class TagRegistry {
    public static final TagKey<Item> TIN_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/tin"));
    public static final TagKey<Item> STEEL_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/steel"));
    public static final TagKey<Item> BRONZE_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/bronze"));
    public static final TagKey<Item> ALUMINIUM_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/aluminium"));
    public static final TagKey<Item> LEAD_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/lead"));
    public static final TagKey<Item> TUNGSTEN_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/tungsten"));
    public static final TagKey<Item> ANTIMONY_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/antimony"));
    public static final TagKey<Item> LITHIUM_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/lithium"));
    public static final TagKey<Item> ENETE_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/enete"));
    public static final TagKey<Item> SILICON_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/silicon_ingot"));
    public static final TagKey<Item> SILVER_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/silver_ingot"));
    public static final TagKey<Item> URANIUM_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/uranium_ingot"));
    public static final TagKey<Item> WROUGHT_IRON_INGOT= TagKey.create(Registry.ITEM_REGISTRY,new ResourceLocation("forge","ingots/wrought_iron_ingot"));

    public static void init(){
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(TIN_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(STEEL_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(BRONZE_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(ALUMINIUM_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(LEAD_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(TUNGSTEN_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(ANTIMONY_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(LITHIUM_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(ENETE_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(SILICON_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(SILVER_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(URANIUM_INGOT,Tags.Items.INGOTS);
        EnergyTech.LAZY_REGISTRY
                .copyItemTag(WROUGHT_IRON_INGOT,Tags.Items.INGOTS);
    }
}
